<?php $uri = request_uri() ?>
<?php $big = $_REQUEST['img'] ?>
<?php
//var_dump($big);
$small = str_replace('sites/default/files', 'sites/default/files/imagecache/smallimage', $big);
//var_dump($small);
?>
<?php $theme_path = base_path().path_to_theme() ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1258">
  <head>
    <link rel="stylesheet" type="text/css" href="<?php echo $theme_path ?>/css/cloud-zoom.css" />
    <script language="javascript" type="text/javascript" src="<?php echo $theme_path ?>/js/jquery.js"></script>
    <script language="javascript" type="text/javascript" src="<?php echo $theme_path ?>/js/cloud-zoom.1.0.2.min.js"></script>
  </head>
  <body>
    <div id="wrap" style="top:0px;z-index:9999;position:relative;">
    <a href="<?php print $big ?>" class="cloud-zoom" id="zoom1" rel="adjustX: 10, adjustY:-4, softFocus:true" style="position: relative; display: block; ">
    <img src="<?php print $small ?>" alt="" align="left" title="Optional title display" style="display: block; ">
      </a>
      <div class="mousetrap" style="background-image: url(http://www.professorcloud.com/mainsite/); z-index: 999; position: absolute; width: 240px; height: 320px; left: 0px; top: 0px; cursor: move; ">
      </div>
    </div>
  </body>
</html>
